package cc.vicp.djx314.starfood.web.errorpage;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
public class ErrorPageController {
	@RequestMapping(value = "/error404", method = RequestMethod.GET)
	public String notFound404Page() {
		return "error/error404";
	}

	@RequestMapping(value = "/error400", method = RequestMethod.GET)
	public String badRequest404Page() {
		return "error/error400";
	}

	@RequestMapping(value = "/error500", method = RequestMethod.GET)
	public String error500Page() {
		return "error/error500";
	}
	
	@RequestMapping(value = "/error403", method = RequestMethod.GET)
	public String error403Page() {
		return "error/error403";
	}
}